<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width,initial-scale=1.0">
    <title></title>
  </head>
  <body>
    <div id="app"></div>
    <!-- built files will be auto injected -->
    <script src="http://libs.baidu.com/jquery/2.0.0/jquery.min.js"></script>
    <script>
      $.ajax({
        url:"/api/contactWay",
        success(res){
          console.log(res);
          $(document).attr('title', res.data.web_title);
        }
      })
    </script>
  </body>
</html>
